/*
 * @Author: 卡卡 1071780426@qq.com
 * @Date: 2022-12-02 16:01:24
 * @LastEditors: 贺楠 1071780426@qq.com
 * @LastEditTime: 2024-09-25 15:15:28
 * @FilePath: \mould\src\views\pages\Supervision\regexDetail.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
// import regex from '../../../../utils/regex.js' // 正则表达式
// import {
//     statusType
// } from '@/utils/config'; //配置项

export default {


    table_config: {
        imgKeyWord: "url",
        fileKeyWord: "url",
        fileName: "fFileName",
        dialogHeight: '',
        isOperation: true,
        thead: [{
                label: "排序号",
                prop: "fSort",
                minWidth: "70px",
                align: "center",
                expandType: true,
            },
            {
                label: "材料种类",
                prop: "fVarietyname",
                minWidth: "150px",
                align: "center",
                expandType: false,
                // Jump: true,

            },
            {
                label: "添加日期",
                prop: "fCreatedates",
                minWidth: "140px",
                align: "center",

                expandType: false,



            },
            {
                label: '操作人',
                prop: 'fCreateusername',
                minWidth: '120px',
                align: "center",
                expandType: false,



            },
            {
                label: "是否启用",
                prop: "fStatus",
                minWidth: "80px",
                align: "center",
                expandType: false,
                switch: true


            },
            {
                label: "描述说明",
                prop: "fNote",
                minWidth: "200px",
                align: "left",
                expandType: false,



            }

        ],
        materialList: [{
                label: "排序号",
                prop: "fSort",
                minWidth: "70px",
                align: "center",
            },
            {
                label: "材料名称",
                prop: "fVarietyname",
                minWidth: "150px",
                align: "center",
                Jump: true,
            },
            {
                label: "添加日期",
                prop: "fCreatedates",
                minWidth: "140px",
                align: "center",

            },
            {
                label: '操作人',
                prop: 'fCreateuserid',
                minWidth: '120px',
                align: "center",
            },
            {
                label: "是否启用",
                prop: "fStatus",
                minWidth: "80px",
                align: "center",
                switch: true
            },
            {
                label: "描述说明",
                prop: "fNote",
                minWidth: "200px",
                align: "left",
            }
        ],
        isCheckBox: false,
        isIndex: true,
        // 表格操作列
        operation: {
            label: '操作',
            width: '70',
            detail: true,
            prop: true,
            cols: [],
        },
    },

    btnObj: [{
            fEncode: "yj_istrue",
            fFullname: "启用/停用",
            fOrder: 0
        }, {
            fEncode: "yj_add1",
            fFullname: "新增种类",
            fOrder: 1
        }, {
            fEncode: "yj_edit1",
            fFullname: "编辑种类",
            fOrder: 2
        },
        {
            fEncode: "yj_delete1",
            fFullname: "删除种类",
            fOrder: 3
        }, {
            fEncode: "yj_add2",
            fFullname: "新增材料",
            fOrder: 4
        }, {
            fEncode: "yj_edit2",
            fFullname: "编辑材料",
            fOrder: 5
        },
        {
            fEncode: "yj_delete2",
            fFullname: "删除材料",
            fOrder: 6
        },
        {
            fEncode: "yj_view",
            fFullname: "查看",
            fOrder: 7
        },
    ]
}